package com.sky.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface SetmealMapper {
  /**
   * 分类id查询关联套餐数量
   * @param id
   * @return
   */
  @Select("select count(0) from setmeal where category_id = #{id}")
  Integer countByCategoryId(Integer id);


}
